package com.ddone.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ddone.model.auth.SysLoginLog;
import com.ddone.model.vo.SysLoginLogQueryVo;

/**
 * @author ddone
 * @date 2024/4/2-10:15
 */
public interface SysLoginLogService {
    IPage<SysLoginLog> findPage(Page<SysLoginLog> pageParam, SysLoginLogQueryVo sysLoginLogQueryVo);

    //记录日志
    void recordLoginLog(String username, String ipAddress , Integer status , String msg);
}
